/*
Initial style layout for website
Credits given to Head First Web Chapter 3
*/

body {
	margin: 0;
	padding: 0;
	background: #026dc0 url('../img/bg.gif') repeat-x top;
	font-family: Helvetica, sans-serif;
	line-height: 1.4em;
}

form dd {
    margin-bottom: 0.8em;
    width: 800px;
    padding-right: 1px;
    display: inline;
}

form dt{
    display: inline;
    align: center;
}

form#NewGPA p{
    margin: 5.5em 2 4.2em 100px;
    display:inline-block;
    padding: 10px,0,0;

}

form#NewGPA {
    text-align: center ;
    margin: 1000000px 100px 100px 0px;
    

}

/* Use a single rule for elements that share the same properties */
h1, h2, h3, p, ul, li {
	margin: 0;
	padding: 0;
}

p, h2, h3 {
	margin: 0 0 10px 0;
}

ul {
	list-style-type: none;
}

/* Our friend "margin: 0 auto" shows up again */
#wrap {
	margin: 0 auto;
	margin-top: 40px;
	margin-bottom: 40px;
	padding: 10px;
	width: 780px;
	background: #fff;
	border: 10px solid #044375;
}

#header {
	background: url('../img/island_header.jpg') no-repeat;
	height: 250px;
}

/*
Use background images in CSS to add visuals
to text
*/
#header h1 {
	padding: 30px 0 30px 30px;
	color: #fff;
	background: url('../images/dot.png') no-repeat 10px 50%;
	font-weight: normal;
	letter-spacing: -1px;
}

#nav {
	margin: 10px 0 0 0;
	padding: 20px;
	background: #044375;
	border-top: 5px solid #033761;
}

/*
By default, list items are displayed as a block. We can
override that style with "display: inline" which will cause
the list items to appear next to each other.
*/


*{ margin:0px; padding: 0px; }

/*
#nav {

font-family: arial, sans-serif;

position: relative;

width: 390px;

height:56px;

font-size:14px;

color:#999;

margin: 0 auto;

} */

#nav ul {

list-style-type: none;

}

#nav ul li {

float: left;

position: relative;

}

#nav ul li a {

text-align: center;

padding:20px;

display:inline;

text-decoration:none;

color:#FFF;

}

#nav ul li ul {

display: none

}

#nav ul li:hover ul {

display: block;
position: absolute;

}

#nav ul li:hover ul li a {

display:inline-block;


background:#044375;

color:#ffffff;

width: 125px;

height: 1px;

font-size:small;

text-align: inherit;

border-bottom: 1px solid #f2f2f2;

border-right: none;


}

#nav ul li:hover ul li a:hover {

background:#6dc7ec;

color:#fff;

}


#content {
	margin: 10px 0 0 0;
	padding: 10px;
	float: left;
	width: 505px;
}

#sidebar {
	margin: 10px 0 0 0;
	padding: 10px;
	float: right;
	width: 225px;
}

#sidebar ul {
	margin: 0 0 40px 0;
}

#sidebar h3 {
	padding: 5px;
	background: #eee;
	border-bottom: 2px solid #ddd;
	font-weight: normal;
}

/*
Remember to "clear: both" when positioning elements
below floated elements.
*/
#footer {
	clear: both;
	padding: 10px;
	background: #eee;
	border-bottom: 2px solid #ddd;
}

#footer p {
	margin: 0;
	text-align: center;
	color: #777;
}